package com.iv.durian.cloud.enums;

public enum BannerStatus {
    /**
     * 新建、待处理
     */
    OFFLINE,

    /**
     * 上线
     */
    ONLINE;

    public static BannerStatus valueOf(int ordinal){
        if (ordinal < BannerStatus.values().length ) {
            BannerStatus bannerStatus = BannerStatus.values()[ordinal];
            return bannerStatus;
        }
        return null;
    }

}
